package com.iflytek.cosmo.ocr.model.dto;

/**
 * UapOutput
 * @author yunsun
 *
 * @param <T>
 */
public class UapOutput<T> {

	/**
	 * 是否成功标志
	 */
	private Boolean flag;
	
	/**
	 * 输出消息
	 */
	private String message;

	/**
	 * 数据对象
	 */
	private T data;

	/**
	 * @return the flag
	 */
	public Boolean getFlag() {
		return flag;
	}

	/**
	 * @param flag the flag to set
	 */
	public void setFlag(Boolean flag) {
		this.flag = flag;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the data
	 */
	public T getData() {
		return data;
	}

	/**
	 * @param data the data to set
	 */
	public void setData(T data) {
		this.data = data;
	}
	
}
